package com.game.core.service.impl;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.game.core.mapper.PrUserMapper;
import com.game.core.domain.PrUser;
import com.game.core.service.IPrUserService;
import com.game.common.support.Convert;

/**
 * 登查人员 服务层实现
 * 
 * @author game
 * @date 2020-12-12
 */
@Service
public class PrUserServiceImpl extends ServiceImpl<PrUserMapper, PrUser> implements IPrUserService
{
	@Autowired
	private PrUserMapper prUserMapper;


	/**
     * 查询登查人员列表
     * 
     * @param prUser 登查人员信息
     * @return 登查人员集合
     */
	@Override
	public List<PrUser> selectPrUserList(PrUser prUser)
	{
	    return prUserMapper.selectPrUserList(prUser);
	}

	/**
	 * 查询登查人员信息
	 *
	 * @param id 登查人员ID
	 * @return 登查人员信息
	 */
	@Override
	public PrUser selectPrUserById(Integer id)
	{
		return prUserMapper.selectPrUserById(id);
	}

	/**
     * 删除登查人员对象
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	@Override
	public int deletePrUserByIds(String ids)
	{
		return prUserMapper.deletePrUserByIds(Convert.toStrArray(ids));
	}
	
}
